var cluster = require('cluster')

if (cluster.isMaster) {
  require('./master.js')
  return
}

var express = require('express')
var app = express()

app.get('/', function (req, res) {
  res.send('hahaha welcome to the express server')
})

app.listen(3030, function () {
  console.log('http://localhost:3030');
})